import request from '@/utils/request'

// 查询引用计费模型时段化列表
export function listQuoteModelStage(query) {
  return request({
    url: '/quoteModelStage/quoteModelStage/list',
    method: 'get',
    params: query
  })
}

// 查询引用计费模型时段化详细
export function getQuoteModelStage(id) {
  return request({
    url: '/quoteModelStage/quoteModelStage/' + id,
    method: 'get'
  })
}

// 新增引用计费模型时段化
export function addQuoteModelStage(data) {
  return request({
    url: '/quoteModelStage/quoteModelStage',
    method: 'post',
    data: data
  })
}

// 修改引用计费模型时段化
export function updateQuoteModelStage(data) {
  return request({
    url: '/quoteModelStage/quoteModelStage',
    method: 'put',
    data: data
  })
}

// 删除引用计费模型时段化
export function delQuoteModelStage(id) {
  return request({
    url: '/quoteModelStage/quoteModelStage/' + id,
    method: 'delete'
  })
}
